The files in the "ttt" folder are of two types, identified by their filename extensions. The extension ".ttt" stands for "twistory text." These files contain information on places, people and events. There are also files with the extension ".geo" which are actually just ".ttt" files, but which are so named as a comment that they contain only place data. (You can actually call the files anything you want.)
The other kind of file has the extension ".poly" for "polygon." These are also text files, but are most easily created and edited with a separate program called PolyTool, which is included with this release.
The following sections describe the format of the ".ttt" files. The characters "#," "<" and ">" are reserved. They may only be used as documented below. "C++ and C-style" comments may also be used. Here are examples of comments, which are ignored when Twistory reads a file:
This is not a comment. /* This "C-type" comment begins and ends with an oblique and an asterisk, which are reversed at the end. */ This is not a comment. This is not a comment. // This "C++-type" comment begins with two obliques, and goes to the end of the line. // This is a comment. This is not a comment.
To allow that characters #, < and > to be used in certain strings, such as the "info" string or the name of an event, you may use the entities £, < and >.
#file "ttt/egypt.ttt"
This tells Twistory to look in the folder "ttt" for a file called "egypt.ttt" and to read its contents in right away, before finishing the current file.
The order in which files are listed in the index, and the order in which items appear in the files, is significant. For example, a place description must be read in before it is referred to in a person record.